//
//  KFDMarketInfoContainerModel.h
//  
//
//  Created by JIRENTIANXIANG on 6/13/15.
//
//

#import <Foundation/Foundation.h>
#import "KFDViewModel.h"

#define KFDMarketDiagramViewShouldUpdateDisplayNotification @"KFDMarketDiagramViewShouldUpdateDisplay"
#define KFDMarketNewsAliveTableViewDataSourceReadyNotification @"KFDMarketNewsAliveTableViewDataSourceReady"
#define KFDMarketTradingStrategyTableViewDataSourceReadyNotification @"KFDMarketTradingStrategyTableViewDataSourceReady"
#define KFDMarketFinanceCalendarTableViewDataSourceReadyNotification @"KFDMarketFinanceCalendarTableViewDataSourceReady"

@interface KFDMarketInfoContainerModel : KFDViewModel

@property (strong,nonatomic) NSArray* weekdays;
@property (strong,nonatomic) NSArray* diagramPoints;
@property (strong,nonatomic) NSArray* aliveNews;
@property (strong,nonatomic) NSArray* tradingStrategies;
@property (strong,nonatomic) NSArray* financialData;
@property (strong,nonatomic) NSArray* holidayForecasts;
@property (strong,nonatomic) NSArray* financialEvents;

-(void)loadFinancialCalendardDates;
-(void)loadAliveNewsWithMaxCount:(NSUInteger)count page:(NSUInteger)page;
-(void)loadTradingStrategiesWithMaxCount:(NSUInteger)count page:(NSUInteger)page;
-(void)loadFinancialInfoWithDate:(NSDate*)date;

@end
